package com.suyuan.service;

import com.github.pagehelper.PageInfo;
import com.suyuan.entity.PurchaseInfo;
import com.suyuan.entity.TransitInfo;
import com.suyuan.vo.TransitInfoVO;
import com.suyuan.web.Page;

import java.util.List;

/**
 * Created by yang on 2018/2/5.
 */
public interface TransitInfoService {

    PageInfo list(Integer batchId, String compName, Page page);

    int delete(Integer id);

    int save(TransitInfo transitInfo);

    List<TransitInfoVO> inquiry(Integer batchId);

    TransitInfo findById(Integer id);

    int update(TransitInfo transit);

    List<PurchaseInfo> getPigs();
}
